﻿namespace DotRas
{
    using System;

    [Serializable]
    public class RasErrorEventArgs : EventArgs
    {
        private int _errorCode;
        private string _errorMessage;

        internal RasErrorEventArgs(int errorCode, string errorMessage)
        {
            this._errorCode = errorCode;
            this._errorMessage = errorMessage;
        }

        public int ErrorCode
        {
            get
            {
                return this._errorCode;
            }
        }

        public string ErrorMessage
        {
            get
            {
                return this._errorMessage;
            }
        }
    }
}

